<?php
namespace Hive\Expense;
/**
 * Exepense Type Object. 
 * 
 * It represant a type of expense
 *
 * @author Xavier VILAIN
 * @package hive
 * @subpackage expense
 * 
 * @property string	$type			Type code (4)
 * @property string	$language		Type language (5) 
 * @property string	$label			Label
 * @property bool	$standard		Is a standard type (can't be deleted)
 * @property bool	$active			Is an active type (can be selected)
 * @property bool 	$loekz 			Deletion Flag if true is an been deleted
 */
class Type extends \Fox\Object\Versioned {
		
	/**
	 * To standardize the creation/updat
	 * @return type label
	 */
	public function label()
	{
		return $this->label;
	}
}
\Fox\Dao::infos(
	Type::className(),
	new \Fox\Object\Info('expense_types', \Fox\Databases::DB_APP)
);